package org.jsbd.boss.dao.impl;

import java.util.List;

import org.jsbd.boss.dao.IDouyingActionConfigDao;
import org.jsbd.boss.domian.DouyingActionConfig;
import org.springframework.stereotype.Repository;

@Repository("douyingActionConfigDao")
public class DouyingActionConfigDaoImpl extends CrackBaseDao implements IDouyingActionConfigDao{

	@Override
	public Integer getListPageCount(DouyingActionConfig douyingActionConfig) {
		return super.queryForCount("qy_douying_action_config.select_douying_action_config_page_count", douyingActionConfig);
	}

	@SuppressWarnings("unchecked")
	@Override
	public List<DouyingActionConfig> getList(DouyingActionConfig douyingActionConfig) {
		return super.queryForList("qy_douying_action_config.select_douying_action_config_list", douyingActionConfig);
	}

	@Override
	public void insert(DouyingActionConfig douyingActionConfig) {
		super.insert("qy_douying_action_config.insert_douying_action_config", douyingActionConfig);
	}

	@Override
	public void update(DouyingActionConfig douyingActionConfig) {
		super.update("qy_douying_action_config.update_douying_action_config", douyingActionConfig);
	}

	@Override
	public void delete(List<Integer> ids) {
		super.batchUpdate("qy_douying_action_config.delete_douying_action_config", ids);
	}

}
